<script setup lang="ts">
import ItemWrap from "@/components/item-wrap";
import LeftTop from "./left-top.vue";
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";
import Baidumap from "@/views/index/baidumap.vue";
</script>

<template>
  <div class="index-box">
    <div class="contetn_left">
      <dv-border-box-11 class="content_left-top " title="5G智能柜投放情况">
        <LeftTop/>
      </dv-border-box-11>
      <dv-border-box-11 class="content_left-center " title="系统用户分析">
        <LeftCenter/>
      </dv-border-box-11>
      <dv-border-box-11
          class="content_left-bottom "
          title="总回收数量"
          style="  padding: 50px 20px 10px 20px;"
      >
        <LeftBottom/>
      </dv-border-box-11>
    </div>
    <div class="contetn_center">
      <ItemWrap title="">
        <Baidumap/>
      </ItemWrap>
      <ItemWrap class="contetn_center-bottom" title="月度情况统计表">
        <CenterBottom/>
      </ItemWrap>
    </div>
    <div class="contetn_right">
      <ItemWrap class="content_right-top" title="智能柜回收情况排名(TOP3)">
        <RightTop/>
      </ItemWrap>

      <dv-border-box-11
          class="content_right-bottom "
          title="回收人员开柜回收信息"
          style="  padding: 50px 20px 10px 20px;"
      >
        <RightBottom/>
      </dv-border-box-11>
    </div>
  </div>
</template>

<style scoped lang="scss">
.index-box {
  width: 100%;
  display: flex;
  min-height: calc(100% - 64px);
  justify-content: space-between;
}

//左边 右边 结构一样
.contetn_left,
.contetn_right {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  width: 540px;
  box-sizing: border-box;
  flex-shrink: 0;

  .contetn_right-top {
    height: 530px;
  }

  .contetn_right-bottom {
    height: 400px;
  }
}

.contetn_center {
  flex: 1;
  margin: 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

  .contetn_center-bottom {
    height: 315px;
  }
}

.content_left-center {
  height: 300px;
}

.content_left-top {
  height: 280px;
}

.content_left-bottom {
  height: 350px;
}
.content_right-bottom{
  height: 500px;
}
.content_right-top{
  height: 460px;
}
</style>
